package com.boot.web.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.boot.beans.Course;
import com.boot.common.BaseService;
import com.boot.web.dao.SQLMapper;

@Service("serviceCourse")
@Repository
@Transactional(rollbackFor = Exception.class)
public class CourseService extends BaseService<Course> {

	@Autowired
	SQLMapper sqlMapper;

	public void updateView(Course item) {
		sqlMapper.updateView(item.getId());
	}

}
